home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / usg5-0.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  3.0 KB  |  100 lines

  1. /* Definitions file for GNU Emacs running on AT&T's System V.0
  2.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /*
  23.  *    Define symbols to identify the version of Unix this is.
  24.  *    Define all the symbols that apply correctly.
  25.  */
  26.  
  27. #define USG                /* System III, System V, etc */
  28.  
  29. #define USG5
  30. #define    USG5_0
  31.  
  32. /* SYSTEM_TYPE should indicate the kind of system you are using.
  33.  It sets the Lisp variable system-type.  */
  34.  
  35. #define SYSTEM_TYPE "usg-unix-v"
  36.  
  37. /* Letter to use in finding device name of first pty,
  38.   if system supports pty's.  'p' means it is /dev/ptyp0  */
  39.  
  40. #define FIRST_PTY_LETTER 'p'
  41.  
  42. /*
  43.  *    Define HAVE_PTYS if the system supports pty devices.
  44.  */
  45.  
  46. /* #define HAVE_PTYS */
  47.  
  48. /* If your system uses COFF (Common Object File Format) then define the
  49.    preprocessor symbol "COFF". */
  50.  
  51. #define COFF
  52.  
  53. /* define MAIL_USE_FLOCK if the mailer uses flock
  54.    to interlock access to /usr/spool/mail/$USER.
  55.    The alternative is that a lock file named
  56.    /usr/spool/mail/$USER.lock.  */
  57.  
  58. /* #define MAIL_USE_FLOCK */
  59.  
  60. /* Define SHORTNAMES if the C compiler can distinguish only
  61.    short names.  It means that the stuff in ../shortnames
  62.    must be run to convert the long names to short ones.  */
  63.  
  64. #define SHORTNAMES
  65.  
  66. /* The file containing the kernel's symbol table is called /unix.  */
  67.  
  68. #define KERNEL_FILE "/unix"
  69.  
  70. /* The symbol in the kernel where the load average is found
  71.    is named avenrun.  */
  72.  
  73. #define LDAV_SYMBOL "avenrun"
  74.  
  75. /* Special hacks needed to make Emacs run on this system.  */
  76.  
  77. /* On USG systems the system calls are interruptible by signals
  78.  that the user program has elected to catch.  Thus the system call
  79.  must be retried in these cases.  To handle this without massive
  80.  changes in the source code, we remap the standard system call names
  81.  to names for our own functions in sysdep.c that do the system call
  82.  with retries. */
  83.  
  84. #define INTERRUPTIBLE_OPEN
  85. #define INTERRUPTIBLE_IO
  86.  
  87. /* USG systems tend to put everything declared static
  88.    into the initialized data area, which becomes pure after dumping Emacs.
  89.    Foil this.  Emacs carefully avoids static vars inside functions.  */
  90.  
  91. #define static
  92.  
  93. /* Compiler bug bites on many systems when default ADDR_CORRECT is used.  */
  94.  
  95. #define ADDR_CORRECT(x) (x)
  96.  
  97. /* Prevent -lg from being used for debugging.  Not implemented?  */
  98.  
  99. #define LIBS_DEBUG
  100.